{% extends "template.html" %}

{% block right %}
<h2>{{plot.plotName}} Houses</h2>

<table border="1">
    <tr>
        <th>House no</th>
        <th>House Type</th>
        <th>Occupancy Status</th>
    </tr>
{% for house in houses %}
    <tr>
        <td>{{house.houseNo}}</td>
        <td>{{house.houseType}}</td>
        <td>{{house.occupancyStatus}}</td>
    </tr>
{% endfor %}
</table>
{% endblock right %}